//
//  CZQDefaultView.h
//  weibo
//
//  Created by Apple on 15-2-1.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CZQDefaultView;

@protocol CZQDefaultCenterViewDelegate <NSObject>

- (void)defaultCenterView:(CZQDefaultView *)defaultCenterView didClickLogin:(UIButton *)loginBtn;

- (void)defaultCenterView:(CZQDefaultView *)defaultCenterView didClickRegister:(UIButton *)registerBtn;

@end


@interface CZQDefaultView : UIView
/**
 *  快速创建方法
 */
+ (instancetype)defaultCenterView;
/**
 *  图标名称
 */
@property (nonatomic,strong)NSString *iconImageName;
/**
 *  描述信息
 */
@property (nonatomic,strong)NSString *info;

/**
 *  转盘
 */
@property(weak,nonatomic)IBOutlet UIImageView *turntableIv;

/**
 *  开始转动
 */
- (void)startRotate;

- (void)stopRotate;

@property (nonatomic, weak) id<CZQDefaultCenterViewDelegate> delegate;
@end
